package org.ccay.core.request;

import org.ccay.core.dispatcher.AbstractEventArgs;
import org.ccay.core.request.IUserPrincipal;

/**
 * 会话建立事件参数	
 * @author chaowangbang
 * @since 2011-11-16
 */
public class UserEventArgs extends AbstractEventArgs {	 
	
	private static final long serialVersionUID = -5061655717416911166L;
	
	public UserEventArgs(IUserPrincipal user) {
		this.user = user;
	}
	
	public UserEventArgs() {
	}

	/**
	 * 用户
	 */
	private IUserPrincipal user ;
	
	/**
	 * @return the user
	 */
	public IUserPrincipal getUser() {
		return user;
	}
	/**
	 * @param user the user to set
	 */
	public void setUser(IUserPrincipal user) {
		this.user = user;
	}




 

	
}
